package com.aishua.fire.jpa.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import com.aishua.fire.common.anno.EntityDesc;

import lombok.Data;

@EntityDesc(desc="权限组表")
@Entity
@Data
public class Permteam implements Serializable{

	private static final long serialVersionUID = 1L;
	public Permteam() {
	}
	
	public Permteam(String permTeamName,String permTeamDesc,Date createDate,String status) {
		super();
		
		this.permTeamName=permTeamName;
		this.permTeamDesc=permTeamDesc;
		this.createDate=createDate;
		this.status=status;
	}
	
	
	public Permteam(Long permteamId, String permTeamName) {
		super();
		this.permteamId = permteamId;
		this.permTeamName = permTeamName;
	}


	@Id
    @GeneratedValue
    private Long permteamId;
    
	/**
	 * 权限组名称
	 */
    @Column(nullable = false)
    private String permTeamName;
    
    /**
	 * 权限组描述
	 */
    @Column(nullable = false)
    private String permTeamDesc;
    
    /**
	 * 创建时间
	 */
    @Column(nullable = false)
    private Date createDate;
    
    /**
     * 软删除  状态（0： 正常 1：已删除）
     */
    @Column(nullable = false)
    private String status;
	
	
	
	
}
